### this file is sourced not run
PKGVER=1.6.2
PKGBUILD=1
PKGARCH=i686

# source: james
TARBALL=hunspell-$PKGVER.tar.gz
MD5SUM=1a54504cb470aafa6530bb372a10dc04
SRC_URL=https://github.com/hunspell/hunspell/archive/v${PKGVER}.tar.gz
BUNDLE=

SLACKREQ=
SLACKDESC="hunspell32: hunspell32 $PKGVER (Spell-checker engine)
hunspell32: 
hunspell32: Hunspell is the spell checker of LibreOffice, OpenOffice.org, Mozilla 
hunspell32: Firefox 3 & Thunderbird, Google Chrome, and it is also used by 
hunspell32: proprietary software packages, like macOS, InDesign, memoQ, Opera and 
hunspell32: SDL Trados.
hunspell32: 
hunspell32: http://hunspell.github.io/
hunspell32: 
hunspell32: This package contains 32-bit version of the library.
hunspell32:
"

### default pkg_download
### default pkg_prepare
### package
pkg_package() {
	rm -rf ./usr/bin ./usr/include ./usr/share
}

### build
pkg_build() {
	cd /tmp/hunspell* &&
	autoreconf -fi &&
	CONFFLAGS="$CONFFLAGS --with-ui --with-readline --disable-static"
	pkg_build_autoconf && pkg_build_slackdesc	
}


