app=hunspell
version=1.7.0
build=1sml
homepage="http://hunspell.github.io/"
download="https://github.com/hunspell/hunspell/files/2573619/hunspell-$version.tar.gz"
desc="Spell checker based on OpenOffice.org myspell library"
requires="gcc-libs"

build() {
  mkandenterbuilddir
  rm -rf $app-$version

  tar xf $srcdir/$app-$version.tar.?z*
  cd $app-$version
  fixbuilddirpermissions

  ./configure \
    --prefix="" \
    --disable-static \
    --disable-nls 

  make V=1
  make install DESTDIR=$pkg

  cp COPYING* $pkgdocs/

  mkfinalpkg
}

sha512sums="
2b99cdb3c5ae2c0c797b482cc020455cb16c1f61538ac178be5f937a9c8f348fa0ba091c66619dd53b43934d0ec3548c54b33ef5be3890814b53c152d0948b7b  hunspell-1.7.0.tar.lz
"
