# Description: A GTK+ bluetooth manager
# URL: https://github.com/blueman-project/blueman
# Maintainer: Tim Biermann, tbier at posteo dot de
# Depends on: bluez polkit python3-cython python3-gobject
# Optional: libayatana-appindicator

name=blueman
version=2.4.6
release=2
source=(https://github.com/blueman-project/$name/releases/download/$version/$name-$version.tar.xz)

build() {
  cd $name-$version

  ./configure --prefix=/usr \
    --sysconfdir=/etc \
    --with-dhcp-config=/etc/dhcpd/dhcpcd.conf \
    --libexecdir=/usr/lib/blueman \
    --disable-schemas-compile \
    --disable-nls \
    --disable-runtime-deps-check
  make
  make DESTDIR=$PKG install

  rm -r $PKG/usr/{lib/systemd,share/doc}
}
