# Maintainer: Antonio Rojas <arojas@archlinux.org>
# Contributor: Alexander Rødseth <rodseth@gmail.com>
# Contributor: Angel Velasquez <angvp@archlinux.org>
# Contributor: Hugo Doria <hugo@archlinux.org>
# Contributor: Andrew Wright <andreww@photism.org>

pkgname=nicotine+
pkgver=3.1.1
pkgrel=1
pkgdesc='Soulseek music-sharing client, written in python'
arch=(any)
url='https://github.com/Nicotine-Plus/nicotine-plus'
license=(GPL)
depends=(python-gobject gtk3 gspell)
optdepends=('libappindicator-gtk3: tray icon')
source=(https://github.com/Nicotine-Plus/nicotine-plus/archive/$pkgver/$pkgname-$pkgver.tar.gz)
sha256sums=('d02f374eaf4cf8cebb2b4068ed5dd36f5774d5ea72b61715ff39bfd6936252d0')

build() {
  cd nicotine-plus-$pkgver
  
  python setup.py build
}

package() {
  cd nicotine-plus-$pkgver

  python setup.py install --root="$pkgdir"
}
