# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=xfce4-wavelan-plugin
pkgver=0.6.3
pkgrel=1
pkgdesc="plugin to monitor wifi connectivity for the Xfce4 panel"
url="https://goodies.xfce.org/projects/panel-plugins/xfce4-wavelan-plugin/"
arch="all"
license="BSD-2-Clause"
subpackages="$pkgname-lang"
makedepends="xfce4-panel-dev libxfce4ui-dev linux-headers"
source="https://archive.xfce.org/src/panel-plugins/xfce4-wavelan-plugin/${pkgver%.*}/xfce4-wavelan-plugin-$pkgver.tar.bz2"

build() {
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--sysconfdir=/etc \
		--libexecdir=/usr/lib \
		--localstatedir=/var \
		--disable-static
	make
}

package() {
	make DESTDIR="$pkgdir" install
}

sha512sums="
a49af2c59f59890790081525a793638c673446b4a3f77584013cf87201fc0cf3218622834c32918daeb3fd2d87511db19512b903c60f8ccd58ae5c4f78507b7a  xfce4-wavelan-plugin-0.6.3.tar.bz2
"
