APP=hunspell
VERSION=1.7.0
BUILD=1sml
HOMEPAGE='http://hunspell.github.io/'
DOWNLOAD='https://github.com/hunspell/hunspell/files/2573619/hunspell-1.7.0.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
"
