# Template file for 'evolution-data-server'
pkgname=evolution-data-server
version=3.10.3
revision=1
build_style=gnu-configure
configure_args="--with-openldap --disable-uoa
 --with-krb5=/usr --with-nspr-includes=/usr/include/nspr
 --with-nss-includes=/usr/include/nss --enable-vala-bindings"
hostmakedepends="pkg-config intltool flex gperf gobject-introspection"
makedepends="db-devel>=5.3 sqlite-devel mit-krb5-devel nss-devel libical-devel
 libsecret-devel libsoup-gnome-devel>=2.44 gcr-devel>=3.10 libldap-devel
 libgdata-devel>=0.14 vala-devel>=0.22 libgweather-devel>=3.10"
depends="libgdata>=0.14 libsoup-gnome>=2.44 libgweather>=3.10"
short_desc="Centralized access to appointments and contacts"
maintainer="Juan RP <xtraeme@gmail.com>"
license="GPL-2"
homepage="http://www.gnome.org"
distfiles="${GNOME_SITE}/$pkgname/${version%.*}/$pkgname-$version.tar.xz"
checksum=41af5c658255230de47423fad73f19bfab15b9e0df80141b13f66b55bf295bd2

evolution-data-server-devel_package() {
	depends="sqlite-devel mit-krb5-devel nss-devel libical-devel
		libldap-devel libgdata-devel>=0.14 libsecret-devel
		${sourcepkg}>=${version}_${revision}"
	short_desc+=" - development files"
	pkg_install() {
		vmove usr/include
		vmove usr/lib/pkgconfig
		vmove "usr/lib/*.so"
		vmove usr/share/gir-1.0
		vmove usr/share/gtk-doc
		vmove usr/share/vala
	}
}
