# Compiling time: 0.27 SBU
# Maintainer: DeX77 <dex77@frugalware.org>


pkgname=hspell
pkgver=1.3
pkgrel=2
pkgdesc="Hebrew spell-checker."
url="http://www.ivrix.org.il/projects/spell-checker/"
depends=('zlib>=1.2.8-4')
makedepends=('aspell>=0.60.6.1-3')
groups=('apps-extra')
archs=('i686' 'x86_64')
up2date="Flasttar $url/download.html"
source=($url/$pkgname-$pkgver.tar.gz)
signatures=("${source[0]}.sig")

Fconfopts=" --enable-fatverb --enable-shared --enable-linginfo"
build()
{
	unset MAKEFLAGS
	[ "$CARCH" == "x86_64" ] && CFLAGS+=" -fPIC -DPIC"
	Fconf

	# Do not build them since they are not installed
#	Fexec make hunspell || Fdie
#	Fexec make aspell || Fdie
	Fmakeinstall
}


# optimization OK
