### this file is sourced not run
PKGVER=3.0.9 # latest version - works with yad
PKGBUILD=1
PKGARCH=x86_64

# source: CBLFS 2009-03-19 updated to 3.0.9
TARBALL=gtkspell3-$PKGVER.tar.xz
MD5SUM=22c6c44c7cbebfc02e6255cc151a7967
SRC_URL=https://sourceforge.net/projects/gtkspell/files/3.0.9/$TARBALL
BUNDLE=

SLACKREQ='gtk2 libenchant'
SLACKDESC="libgtkspell3: libgtkspell3 $PKGVER (Visual GTK spell checker front-end)  
libgtkspell3:  
libgtkspell3: GtkSpell provides word-processor-style highlighting and replacement 
libgtkspell3: of misspelled words in a GtkTextView widget. Right-clicking a 
libgtkspell3: misspelled word pops up a menu of suggested replacements.  
libgtkspell3: 
libgtkspell3: This is version 3 of GtkSpell and is not compatible with some apps
libgtkspell3: (e.g sylpheed), but is required for apps like yad.
libgtkspell3: GtkSpell3 and GtkSpell2 can be installed side-by-side.
libgtkspell3: 
libgtkspell3: http://gtkspell.sourceforge.net/
"

### default pkg_download
### default pkg_prepare
### default pkg_package
### build
pkg_build() {
	CONFFLAGS="$CONFFLAGS --disable-static --enable-gtk2 --disable-gtk3"
	pkg_build_autoconf && pkg_build_slackdesc &&

	# multilib
	mv -v /usr/share/gir-1.0/* /usr/share/gir-1.0-64 &&
	rm -r /usr/share/gir-1.0/
}
