# Maintainer: PktSurf <smlinux@pktsurf.in>
app=aspell
version=0.60.7
build=1sml
homepage="http://aspell.net/"
requires="gcc-libs netbsd-curses perl"
desc="Spell checker for GNU Linux"

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

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

build() {
  ./configure \
    --prefix=/usr \
    --bindir=/bin \
    --sysconfdir=/etc/aspell

  make
  make install DESTDIR=$pkg

  cp COPYING $pkgdocs/

  mkfinalpkg
}

sha512sums="
b02d4f5e82f5a001a6dd626088405cc0987036f735585d4ad1a025e59f009c631318c8a9480096c552ef647b59d0050f8503af28aa1e7b858d1598d3495ba509  aspell-0.60.7.tar.lz
"
