makedepends=(ncurses)

packager="Great-OS Team"
maintainer="sipo"

description="A spell checker designed to eventually replace Ispell"
url="http://aspell.net/"

name=aspell
version=0.60.8.2
_pkgmajorver=0.60
release=2

source=(https://github.com/GNUAspell/aspell/archive/rel-$version.tar.gz)

build(){

  cd $name-rel-$version
  PERL_USE_UNSAFE_INC=1 ./autogen
  ./configure --prefix=/usr --sysconfdir=/etc
  make

}

package() {

  cd $name-rel-$version
  make DESTDIR="$PKG" install
  ln -s $name-$_pkgmajorver "$PKG"/usr/lib/$name

}
