# Template file for 'gtkhtml'
pkgname=gtkhtml
version=4.8.2
revision=1
build_style=gnu-configure
hostmakedepends="pkg-config intltool"
makedepends="gtk+3-devel enchant-devel ORBit2-devel
 libsoup-gnome-devel>=2.40 gsettings-desktop-schemas-devel>=3.12
 gnome-icon-theme gsettings-desktop-schemas>=3.12 iso-codes"
depends="gnome-icon-theme gsettings-desktop-schemas>=3.12 iso-codes"
short_desc="Layout engine written in C using the GTK+ widget toolkit"
maintainer="Juan RP <xtraeme@gmail.com>"
homepage="http://www.gnome.org"
license="GPL-2"
distfiles="${GNOME_SITE}/${pkgname}/${version%.*}/${pkgname}-${version}.tar.xz"
checksum=58d2d6bafd221fdc07982ad0455fd168afc7fb642465d53b66b07328eab32868

libgtkhtml_package() {
	short_desc+=" - runtime libraries"
	pkg_install() {
		vmove "usr/lib/*.so.*"
	}
}

gtkhtml-devel_package() {
	depends="libgtkhtml-${version}_${revision}"
	short_desc+=" - development files"
	pkg_install() {
		vmove usr/include
		vmove usr/lib/pkgconfig
		vmove "usr/lib/*.so"
	}
}
