# $Id: PKGBUILD 2581 2008-06-08 12:52:18Z jgc $
# Maintainer: dorphell <dorphell@archlinux.org>
pkgname=enchant
pkgver=1.6.0
pkgrel=1
pkgdesc="A wrapper library for generic spell checking"
arch=(i686 x86_64)
license=('LGPL')
depends=('aspell' 'dbus-glib>=0.74' 'hunspell>=1.2.2')
makedepends=('hspell')
options=(!libtool)
source=(http://www.abisource.com/downloads/enchant/${pkgver}/${pkgname}-${pkgver}.tar.gz)
url="http://www.abisource.com/enchant/"

build() {
  cd ${startdir}/src/${pkgname}-${pkgver}
  ./configure --prefix=/usr --disable-static || return 1
  make || return 1
  make DESTDIR=${startdir}/pkg install || return 1
}
md5sums=('de11011aff801dc61042828041fb59c7')