# Template build file for 'vte'.
pkgname=vte
version=0.28.2
revision=5
build_style=gnu-configure
configure_args="--disable-static --with-gtk=2.0"
makedepends="pkg-config intltool gtk+-devel ncurses-devel pygtk-devel"
short_desc="Terminal widget with improved accessibility and I18N support"
maintainer="Juan RP <xtraeme@gmail.com>"
homepage="http://www.gnome.org"
license="LGPL-2.1"
distfiles="${GNOME_SITE}/vte/0.28/$pkgname-$version.tar.bz2"
checksum=8d04e202b617373dfb47689e5e628febe2c58840b34cccc4af4feb88c48df903
long_desc="
 Terminal widget with improved font, internationalization and
 accessibility support for the GNOME 2 desktop."

vte-python_package() {
	depends="pygtk"
	short_desc+=" -- Python bindings"
	pkg_install() {
		vmove "usr/lib/python*"
		vmove "usr/share/pygtk*"
	}
}

vte-devel_package() {
	depends="libglib-devel pango-devel cairo-devel gtk+-devel vte-${version}_${revision}"
	short_desc+=" -- development files"
	pkg_install() {
		vmove usr/include
		vmove usr/lib/pkgconfig
		vmove usr/share/gtk-doc
	}
}

vte_package() {
	pkg_install() {
		vmove usr
	}
}
