app=blueman
version=2.1.4
build=1sml
homepage="https://github.com/blueman-project/blueman"
download="https://github.com/blueman-project/blueman/archive/refs/tags/2.1.4.tar.gz"
desc="Graphical GTK+ Bluetooth Manager"
requires="py3cairo pygobject3 cython"

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 \
    --enable-thunar-sendto \
    --enable-settings-integration \
    --disable-schemas-compile \
    --disable-pulseaudio

  make
  make install DESTDIR=$pkg 

  cp COPYING $pkgdocs/

  rm -rfv $pkg/usr

  mkfinalpkg
}

sha512sums="
b8b54942092c1984cfac0cf73e2ac23f7693cb3ee0aa4cfaab1fa0282de4afd539f6860d5541523b542956b2efa31da3ec012dcc39d92fd699d0b8479df641ff  blueman-2.1.4.tar.xz
"
