{
 "app_id": "org.groestlcoin.electrum-grs",
 "source_url": "https://raw.githubusercontent.com/flathub/org.groestlcoin.electrum-grs/master/org.groestlcoin.electrum-grs.json",
 "runtime": "org.kde.Platform",
 "runtime_version": "5.15-23.08",
 "sdk": "org.kde.Sdk",
 "finish_args": [
  "--share=network",
  "--share=ipc",
  "--socket=x11",
  "--socket=pulseaudio",
  "--device=all",
  "--filesystem=xdg-config/kdeglobals:ro",
  "--talk-name=com.canonical.AppMenu.Registrar",
  "--talk-name=org.kde.kconfig.notify",
  "--talk-name=org.kde.KGlobalSettings"
 ],
 "module_count": 8,
 "fetched_at": "2026-09-17T16:15:16.413182+00:00",
 "manifest": {
  "id": "org.groestlcoin.electrum-grs",
  "sdk": "org.kde.Sdk",
  "runtime": "org.kde.Platform",
  "runtime-version": "5.15-23.08",
  "base": "com.riverbankcomputing.PyQt.BaseApp",
  "base-version": "5.15-23.08",
  "command": "electrum-grs",
  "finish-args": [
   "--socket=x11",
   "--env=QT_QPA_PLATFORM=xcb",
   "--socket=pulseaudio",
   "--persist=.electrum-grs",
   "--device=all",
   "--share=ipc",
   "--share=network"
  ],
  "build-options": {
   "env": {
    "BASEAPP_REMOVE_WEBENGINE": "1"
   }
  },
  "cleanup": [
   "/include",
   "/share/man/man1"
  ],
  "cleanup-commands": [
   "/app/cleanup-BaseApp.sh"
  ],
  "modules": [
   "shared-modules/libusb/libusb.json",
   "libsecp256k1.json",
   {
    "name": "zbar",
    "buildsystem": "autotools",
    "config-opts": [
     "--disable-doc",
     "--disable-video",
     "--enable-codes=qrcode",
     "--with-python=python3",
     "--without-dbus",
     "--without-gtk",
     "--without-imagemagick",
     "--without-java",
     "--without-npapi",
     "--without-qt",
     "--without-qt5",
     "--without-xshm",
     "--without-xv"
    ],
    "sources": [
     {
      "type": "archive",
      "url": "https://www.linuxtv.org/downloads/zbar/zbar-0.23.90.tar.gz",
      "sha256": "ff857dd7e3dbe043dac3765b5182c91dfd0477800713a75d15287d797cee60fa"
     },
     {
      "type": "patch",
      "path": "patches/py311.patch"
     }
    ]
   },
   "python3-requirements-binaries.json",
   "python3-requirements.json",
   "python3-requirements-hw.json",
   "python3-jsonpatch.json",
   {
    "name": "electrum-grs",
    "buildsystem": "simple",
    "build-commands": [
     "pip3 install --exists-action=i --no-index --find-links=\"file://${PWD}\" --prefix=${FLATPAK_DEST} .[full]",
     "install -Dp -m 644 org.groestlcoin.electrum-grs.metainfo.xml /app/share/metainfo/${FLATPAK_ID}.metainfo.xml",
     "install -Dp -m 644 electrum_grs/gui/icons/electrum-grs.png /app/share/icons/hicolor/128x128/apps/${FLATPAK_ID}.png",
     "install -Dp -m 644 electrum-grs.desktop /app/share/applications/${FLATPAK_ID}.desktop",
     "desktop-file-edit --set-key=\"Icon\" --set-value=${FLATPAK_ID} /app/share/applications/${FLATPAK_ID}.desktop",
     "desktop-file-edit --set-key=\"Exec\" --set-value=electrum-grs /app/share/applications/${FLATPAK_ID}.desktop"
    ],
    "sources": [
     {
      "type": "archive",
      "url": "https://github.com/Groestlcoin/electrum-grs/releases/download/v4.5.4/Electrum-grs-4.5.4.tar.gz",
      "sha256": "2b93e3a97bc05bca189021b2c446079b800753001cd8e771ee19b2e907ce39f8"
     },
     {
      "type": "file",
      "path": "org.groestlcoin.electrum-grs.metainfo.xml"
     }
    ]
   }
  ]
 }
}