# Template file for 'telepathy-mission-control'
pkgname=telepathy-mission-control
version=5:5.16.0
revision=2
wrksrc="${pkgname}-${version#*:}"
build_style=gnu-configure
configure_args="--disable-static --enable-gnome-keyring --disable-schemas-compile"
hostmakedepends="pkg-config python-devel intltool libxslt glib-devel"
makedepends="libglib-devel telepathy-glib-devel>=0.22 NetworkManager-devel
 upower-devel libgnome-keyring-devel>=3.10"
depends="telepathy-glib>=0.22"
short_desc="Telepathy component providing abstraction for details of connection managers"
maintainer="Juan RP <xtraeme@gmail.com>"
license="LGPL-2.1"
homepage="http://telepathy.freedesktop.org"
distfiles="$homepage/releases/$pkgname/$pkgname-${version#*:}.tar.gz"
checksum=edc3c7265c291343d5d7d47c20add4d426e894068c66c79696795502a4e1c1d0

telepathy-mission-control-devel_package() {
	depends="telepathy-glib-devel>=0.22 ${sourcepkg}>=${version}"
	short_desc+=" - development files"
	pkg_install() {
		vmove usr/include
		vmove usr/lib/pkgconfig
		vmove usr/share/gtk-doc
		vmove "usr/lib/*.so"
	}
}
