DESCRIPTION="Generic spell-checking dictionary library"
HOMEPAGE="http://abisource.com/projects/enchant/"
SRC_URI="http://www.abisource.com/downloads/enchant/1.6.0/enchant-1.6.0.tar.gz"
REVISION="2"

STATUS_HAIKU="broken"

DEPEND="dev-util/pkgconfig >= 0.23
	sys-devel/gettext >= 0.17
	dev-lib/glib >= 2.24.2
	app-text/aspell >= 0.60.6"

CHECKSUM_MD5="de11011aff801dc61042828041fb59c7"

BUILD()
{
        cd enchant-1.6.0
        cp /boot/common/share/libtool/config/config.* .
        libtoolize --force --copy
        aclocal
        automake --add-missing
        autoconf
        ./configure --prefix=`finddir B_COMMON_DIRECTORY`
        make
}

INSTALL()
{
        cd enchant-1.6.0
        make install DESTDIR=${DESTDIR}
}

LICENSE="GNU LGPL v2.1"
COPYRIGHT="2003-2010 Dom Lachowicz"

