### this file is sourced not run
pkgname="libgtkspell3_gtk3" # for SLACKDEC
PKGVER=3.0.10 # latest version - works with yad_gtk3
PKGBUILD=1
PKGARCH=x86_64

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

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

### default pkg_download
### default pkg_prepare
### default pkg_package
### build
pkg_build() {
	CONFFLAGS="$CONFFLAGS --disable-static \
	--disable-gtk-doc-html \
	--disable-vala"
	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/
}
