SUMMARY="Lithuanian dictionary for aspell program/library"
DESCRIPTION="Lithuanian (lietuviu) dictionary for the GNU Aspell program, an \
open source spell checker."
HOMEPAGE="http://aspell.net/"
COPYRIGHT="2000-2008  Albertas Agejevas, Kestutis Biliunas, Laimonas Vebra"
LICENSE="GNU GPL v2"
REVISION="1"
SOURCE_URI="http://ftpmirror.gnu.org/aspell/dict/lt/aspell6-lt-${portVersion/\~/-}.tar.bz2"
CHECKSUM_SHA256="f6f53b6e418c22f63e1a70b8bc77bc66912bc1afd40cf98dc026d110d26452ab"
SOURCE_DIR="aspell6-lt-${portVersion/\~/-}"

ARCHITECTURES="any"

PROVIDES="
	aspell_lt = $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
}
