# Template file for 'telepathy-glib'
pkgname=telepathy-glib
version=0.20.1
revision=2
build_style=gnu-configure
configure_args="--enable-vala-bindings --disable-static"
makedepends="pkg-config intltool vala-devel libxslt gobject-introspection
 dbus-glib-devel"
short_desc="Library for GLib-based Telepathy components"
maintainer="Juan RP <xtraeme@gmail.com>"
license="LGPL-2.1"
homepage="http://telepathy.freedesktop.org"
distfiles="$homepage/releases/$pkgname/$pkgname-$version.tar.gz"
checksum=01a0343f61fbd389fed9c819751aa75914150aa567472dcb480ced7f4ed261b6
long_desc="
 Telepathy is a D-Bus framework for unifying real time communication,
 including instant messaging, voice calls and video calls. It abstracts
 differences between protocols to provide a unified interface for
 applications."

telepathy-glib-devel_package() {
	depends="vala-devel dbus-glib-devel ${sourcepkg}-${version}_${revision}"
	short_desc="${sourcepkg} - development files"
	pkg_install() {
		vmove usr/include
		vmove usr/lib/pkgconfig
		vmove usr/share/gir-1.0
		vmove usr/share/gtk-doc
		vmove usr/share/vala
	}
}

telepathy-glib_package() {
	pkg_install() {
		vmove usr
	}
}
