# Template file for 'libcryptui'
pkgname=libcryptui
version=3.10.1
revision=1
build_style=gnu-configure
configure_args="--disable-static --disable-update-mime-database
--disable-schemas-compile"
hostmakedepends="pkg-config intltool gobject-introspection"
makedepends="libSM-devel dbus-glib-devel gtk+3-devel>=3.8 gpgme-devel
 libnotify-devel libgnome-keyring-devel>=3.10 gnupg"
short_desc="GNOME Interface components for OpenPGP"
maintainer="Juan RP <xtraeme@gmail.com>"
homepage="http://www.gnome.org"
license="GPL-2, LGPL-2.1"
distfiles="${GNOME_SITE}/$pkgname/${version%.*}/$pkgname-$version.tar.xz"
checksum=5e3e82e647ac4fb74ed46b4fffbf89e80198f856e1509f5edcd47dd2751a4be0
long_desc="
 $pkgname is a library used for prompting for PGP keys. It's likely that this
 library will become deprecated in the near future."

libcryptui-devel_package() {
	depends="gtk+3-devel dbus-glib-devel libcryptui>=${version}"
	short_desc+=" - development files"
	pkg_install() {
		vmove usr/include
		vmove usr/lib/pkgconfig
		vmove usr/share/gir-1.0
		vmove usr/share/gtk-doc
		vmove "usr/lib/*.so"
	}
}

libcryptui_package() {
	depends="hicolor-icon-theme libgnome-keyring>=3.10 gnupg"
	pkg_install() {
		vmove all
	}
}