# Template file for 'libcryptui'
pkgname=libcryptui
version=3.8.0
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.8 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/3.8/$pkgname-$version.tar.xz"
checksum=10eed96e33b6d7286795a7c678a5655a86ae099fb98d1f7211aa28aa636c0837
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="${short_desc} -- development files"
	pkg_install() {
		vmove usr/include
		vmove usr/lib/pkgconfig
		vmove usr/share/gir-1.0
		vmove usr/share/gtk-doc
	}
}

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