#!/usr/bin/bash
# JOBoRun		: Jwm OpenBox Obarun RUNit
# Maintainer	: Joe Bo Run <joborun@disroot.org>
# PkgSource		: url="https://gittea.disroot.org/joborun-pkg/jobextra/$pkgname"
# Website		: https://pozol.eu
#-----------------------------------------| DESCRIPTION |---------------------------------------

pkgname=gnunet-gtk
pkgver=0.15.0
pkgrel=02
pkgdesc='A frontend for GNUnet'
arch=('x86_64')
url='https://gnunet.org'
depends=('gnunet' 'glade')
optdepends=('qrencode')
source=(https://ftp.gnu.org/gnu/gnunet/$pkgname-$pkgver.tar.gz)

build() {
  cd "${srcdir}/${pkgname}-${pkgver}"

  ./configure --prefix=/usr --with-gnunet=/usr
  make
}

package() {
  cd "${srcdir}/${pkgname}-${pkgver}"

  make DESTDIR="${pkgdir}" install
}

#---- license gpg-key sha256sums ----

license=('GPL')

sha256sums=(14b2e5aa943b05ffa835152fc7b227895c45baccbfb4f63110fd93e95185ee1f) # gnunet-gtk-0.15.0.tar.gz
