name: electrum
version: master
summary: ZClassic thin client
description: |
  Lightweight ZClassic client

grade: devel # must be 'stable' to release into candidate/stable channels
confinement: strict

apps:
  electrum:
    command: desktop-launch electrum
    plugs: [network, network-bind, x11, unity7]

parts:
  electrum:
    source: .
    plugin: python
    python-version: python3
    stage-packages: [python3-pyqt5]
    build-packages: [pyqt5-dev-tools]
    install: pyrcc5 icons.qrc -o $SNAPCRAFT_PART_INSTALL/lib/python3.5/site-packages/electrum_gui/qt/icons_rc.py
    after: [desktop-qt5]
