# Description:	Advanced spell checker
# URL: https://hunspell.github.io/
# Maintainer: Tim Biermann, tbier at posteo dot de

name=hunspell
version=1.7.2
release=1
source=(https://github.com/hunspell/$name/archive/v$version/$name-v$version.tar.gz)

build() {
  cd $name-$version

  autoreconf -if

  ./configure \
    --prefix=/usr \
    --disable-nls

  make prefix=$PKG/usr install

  ln -s libhunspell-1.7.so.0.0.1 $PKG/usr/lib/libhunspell.so
  rm -rf $PKG/usr/share/man/hu
}
