SUMMARY="German dictionary for aspell program/library"
DESCRIPTION="German (and Swiss-German) language dictionary for the GNU Aspell \
program, an open source spell checker."
HOMEPAGE="http://aspell.net/"
COPYRIGHT="2002-2004 Björn Jacke"
LICENSE="GNU GPL v2"
REVISION="1"
SOURCE_URI="http://ftpmirror.gnu.org/aspell/dict/de/aspell6-de-${portVersion/\~/-}.tar.bz2"
CHECKSUM_SHA256="ba6c94e11bc2e0e6e43ce0f7822c5bba5ca5ac77129ef90c190b33632416e906"
SOURCE_DIR="aspell6-de-${portVersion/\~/-}"

ARCHITECTURES="any"

PROVIDES="
	aspell_de = $portVersion
	"
REQUIRES="
	haiku
	aspell >= 0.60
	"

BUILD_REQUIRES="
	devel:libaspell
	"
BUILD_PREREQUIRES="
	haiku_devel
	cmd:basename
	cmd:make
	cmd:prezip_bin
	cmd:which
	"

BUILD()
{
	./configure
	make
}

INSTALL()
{
	spellDir=$dataDir/$(basename $(aspell dump config dict-dir))
	make dictdir=$spellDir datadir=$spellDir install
}
