app=xfce4-wavelan-plugin
version=0.6.2
build=1sml
homepage="https://docs.xfce.org/panel-plugins/xfce4-wavelan-plugin"
download="https://archive.xfce.org/src/panel-plugins/xfce4-wavelan-plugin/0.6/xfce4-wavelan-plugin-0.6.2.tar.bz2"
desc="Xfce panel plugin to display wifi connectivity monitor"
requires="xfce4-panel"

build() {
  mkandenterbuilddir
  rm -rf $app-$version

  tar xf $srcdir/$app-$version.tar.?z*
  cd $app-$version
  fixbuilddirpermissions

  ./configure \
    --prefix="" \
    --sysconfdir=/etc \
    --localstatedir=/var \
    --disable-static

  make
  make install DESTDIR=$pkg

  cp COPYING $pkgdocs/

  mkfinalpkg
}

sha512sums="
90e0d5f2e9add1f177f0f69e537ccdeeaf518a122feb776cb8bce139b9af6ea7d248e758ae381b69041bbdefe2d38f2162d08b25fd246d98c3a028d743892123  xfce4-wavelan-plugin-0.6.2.tar.bz2
"