# Description: Python library which provides a client interface for the Music Player Daemon
# URL: https://github.com/Mic92/python-mpd2
# Maintainer: Tim Biermann, tbier at posteo dot de
# Depends on: python3-setuptools

name=python3-mpd2
version=3.1.0
release=1
source=(https://github.com/Mic92/python-mpd2/archive/v$version/$name-$version.tar.gz)

build() {
  cd python-mpd2-$version
  /usr/bin/python3 setup.py build
  /usr/bin/python3 setup.py install --root=$PKG \
    --optimize=1 \
    --skip-build
}
