# Template file for 'gnome-online-accounts'
pkgname=gnome-online-accounts
version=3.8.2
revision=1
build_style=gnu-configure
configure_args="--enable-google --enable-kerberos --enable-flickr
 --enable-facebook --disable-static --enable-exchange  --enable-imap-smtp
 --enable-owncloud --enable-windows-live"
hostmakedepends="pkg-config intltool libxslt docbook-xsl gobject-introspection"
makedepends="webkitgtk-devel json-glib-devel libnotify-devel
 rest-devel libsoup-gnome-devel gcr-devel>=3.8.0 libsecret-devel mit-krb5-devel"
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/3.8/$pkgname-$version.tar.xz"
checksum=12611a002043c8acc29e9800ec009e3e19736bdb6237d246e848d7c7909fe826

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

gnome-online-accounts_package() {
	depends="hicolor-icon-theme"
	pkg_install() {
		vmove all
	}
}
