# Template file for 'gtkspell'
pkgname=gtkspell
version=2.0.16
revision=2
makedepends="pkg-config intltool gtk+-devel enchant-devel"
build_style=gnu-configure
configure_args="--disable-static"
short_desc="Provides word-processor-style highlighting"
maintainer="Juan RP <xtraeme@gmail.com>"
homepage="http://gtkspell.sourceforge.net/"
license="LGPL-2.1"
distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
checksum=8fc7dc560167b2cb7193e76aca625a152dc19b0ebf49816b78539cbb90d80d02
long_desc="
 GtkSpell provides word-processor-style highlighting and replacement of
 misspelled words in a GtkTextView widget. Right-clicking a misspelled
 word pops up a menu of suggested replacements."

gtkspell-devel_package() {
	depends="gtk+-devel ${sourcepkg}>=${version}"
	short_desc="${short_desc} -- development files"
	pkg_install() {
		vmove usr/include
		vmove usr/lib/pkgconfig
		vmove usr/share/gtk-doc
	}
}

gtkspell_package() {
	pkg_install() {
		vmove usr
	}
}
