# Template file for 'mate-power-manager'
pkgname=mate-power-manager
version=1.10.0
revision=2
patch_args="-Np1"
build_style=gnu-configure
configure_args="--sbindir=/usr/bin --with-gtk=2.0 --disable-schemas-compile"
hostmakedepends="pkg-config intltool itstool libtool glib-devel dbus-glib-devel mate-common mate-desktop-devel"
makedepends="gtk+-devel dbus-glib-devel libnotify-devel libunique1-devel
 upower0-devel libcanberra-devel libgnome-keyring-devel libmate-panel-devel"
depends="dconf"
short_desc="Power management tool for the MATE desktop"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
license="GPL-2"
homepage="http://mate-desktop.org"
distfiles="http://pub.mate-desktop.org/releases/${version%.*}/${pkgname}-${version}.tar.xz"
checksum=87269dcc821a27e6aac2cd529839be268dab8e47a190a6d158ab9c8e512291cf

pre_configure() {
	NOCONFIGURE=1 ./autogen.sh
}
