name: keepassx
version: 2.0-snappy0.1
summary: KeePassX is a cross platform password safe
description: |
  KeePassX is an application for people with extremly high demands on secure
  personal data management. It has a light interface, is cross platform and
  published under the terms of the GNU General Public License.

apps:
  keepassx:
    command: qt5-launch keepassx
    plugs: [unity7, opengl]

parts:
  keepassx:
    plugin: cmake
    source: https://github.com/keepassx/keepassx.git
    stage-packages:
      - libgtk2.0-0
      - libqt5gui5
      - unity-gtk2-module
    build-packages:
      - g++
      - qtbase5-dev
      - libqt5x11extras5-dev
      - qttools5-dev
      - qttools5-dev-tools
      - libgcrypt20-dev
      - zlib1g-dev
    after: [qt5conf]
  qt5conf:
    build-packages: [dpkg-dev]
    plugin: make
    source: https://github.com/elopio/qt5conf.git
  gschemas:
    plugin: copy
    files:
      gschemas.compiled: usr/share/glib-2.0/schemas/gschemas.compiled

name: keepassx
version: 2.0-snappy0.1
summary: KeePassX is a cross platform password safe
description: |
  KeePassX is an application for people with extremly high demands on secure
  personal data management. It has a light interface, is cross platform and
  published under the terms of the GNU General Public License.

apps:
  keepassx:
    command: qt5-launch keepassx
    plugs: [unity7, opengl]

parts:
  keepassx:
    plugin: cmake
    source: https://github.com/keepassx/keepassx.git
    stage-packages:
      - libgtk2.0-0
      - libqt5gui5
      - unity-gtk2-module
      - appmenu-qt5
    build-packages:
      - g++
      - qtbase5-dev
      - libqt5x11extras5-dev
      - qttools5-dev
      - qttools5-dev-tools
      - libgcrypt20-dev
      - zlib1g-dev
    after: [qt5conf]
  qt5conf:
    build-packages: [dpkg-dev]
    plugin: make
    source: https://github.com/elopio/qt5conf.git
  gschemas:
    plugin: copy
    files:
      gschemas.compiled: usr/share/glib-2.0/schemas/gschemas.compiled

Add appmenu-qt5 to staged packages.
Add appmenu-qt5 to staged packages.
