# Template file for 'gnome-online-accounts'
pkgname=gnome-online-accounts
version=3.10.2
revision=3
build_style=gnu-configure
configure_args="
 --enable-google --enable-kerberos --enable-flickr --enable-telepathy
 --enable-facebook --disable-static --enable-exchange  --enable-imap-smtp
 --enable-owncloud --enable-windows-live --disable-twitter --enable-yahoo"
hostmakedepends="pkg-config intltool libxslt docbook-xsl gobject-introspection"
makedepends="
 libsoup-gnome-devel>=2.44 webkitgtk-devel>=2.1 json-glib-devel
 libnotify-devel rest-devel>=0.7.90 gcr-devel>=3.10 libsecret-devel mit-krb5-devel
 dbus-glib-devel telepathy-glib-devel"
depends="libsoup-gnome>=2.44 rest>=0.7.90 gcr>=3.10 webkitgtk>=2.1 hicolor-icon-theme"
short_desc="GNOME service to access online accounts"
maintainer="Juan RP <xtraeme@gmail.com>"
homepage="http://www.gnome.org"
license="GPL-2"
distfiles="${GNOME_SITE}/$pkgname/${version%.*}/$pkgname-$version.tar.xz"
checksum=0b2418c1845337b6574a12d2075d319d8aaa5bbc4b0d1d123108c5da00e11b97

gnome-online-accounts-devel_package() {
	depends="glib-devel gtk+3-devel ${sourcepkg}>=${version}_${revision}"
	short_desc+=" - development files"
	pkg_install() {
		vmove usr/include
		vmove usr/lib/pkgconfig
		vmove "usr/lib/*.so"
		vmove usr/lib/goa-1.0
		vmove usr/share/gir-1.0
	}
}
