# Template file for 'dhcpcd-gtk'
pkgname=dhcpcd-gtk
version=0.7.5
revision=1
wrksrc=dhcpcd-ui-${version}
build_style=gnu-configure
configure_args="--with-gtk --with-icons --with-notification"
hostmakedepends="pkg-config"
makedepends="gtk+-devel libnotify-devel dbus-devel"
depends="dhcpcd dhcpcd-icons desktop-file-utils"
short_desc="GTK+ monitor and configuration GUI for dhcpcd"
homepage="http://roy.marples.name/projects/dhcpcd-ui"
license="BSD"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
distfiles="http://roy.marples.name/downloads/dhcpcd/dhcpcd-ui-$version.tar.bz2"
checksum=2dae2108605867aba78d98cc9e56e22d7b751eedc3f7e6d689d42d08e706aaf3

dhcpcd-icons_package() {
	noarch=yes
	short_desc+=" - icon set"
	depends="hicolor-icon-theme"
	replaces="dhcpcd-gtk<0.7.4"
	pkg_install() {
		vmove usr/share/icons
		vmove usr/share/dhcpcd/icons
	}
}
