# Template file for 'libgnome-keyring'
pkgname=libgnome-keyring
version=3.8.0
revision=2
build_style=gnu-configure
configure_args="--disable-debug"
hostmakedepends="pkg-config intltool gobject-introspection"
makedepends="dbus-devel libglib-devel libgcrypt-devel"
short_desc="GNOME keyring client library"
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=a8646f2bc62ef903be422946a6356b0718f7a4cbb29b5bdd35a84136f6b82f76
long_desc="
 libgnome-keyring is a program that keeps passwords and other secrets for
 users. It is run as a damon in the session, similar to ssh-agent, and
 other applications can locate it by an environment variable.

 The program can manage several keyrings, each with its own master
 password, and there is also a session keyring which is never stored to
 disk, but forgotten when the session ends."

libgnome-keyring-devel_package() {
	depends="libglib-devel ${sourcepkg}>=${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
	}
}

libgnome-keyring_package() {
	pkg_install() {
		vmove usr
	}
}
