{
 "app_id": "org.electrum.electrum",
 "source_url": "https://raw.githubusercontent.com/flathub/org.electrum.electrum/master/org.electrum.electrum.json",
 "runtime": "org.kde.Platform",
 "runtime_version": "6.9",
 "sdk": "org.kde.Sdk",
 "finish_args": [
  "--share=ipc",
  "--share=network",
  "--socket=pulseaudio",
  "--socket=x11",
  "--device=all",
  "--filesystem=xdg-config/kdeglobals:ro",
  "--talk-name=com.canonical.AppMenu.Registrar",
  "--talk-name=org.kde.kconfig.notify",
  "--talk-name=org.kde.KGlobalSettings",
  "--talk-name=org.kde.kdeconnect"
 ],
 "module_count": 10,
 "fetched_at": "2026-09-17T16:14:26.669118+00:00",
 "manifest": {
  "id": "org.electrum.electrum",
  "sdk": "org.kde.Sdk",
  "runtime": "org.kde.Platform",
  "runtime-version": "6.9",
  "base": "com.riverbankcomputing.PyQt.BaseApp",
  "base-version": "6.9",
  "command": "electrum",
  "finish-args": [
   "--socket=x11",
   "--env=QT_QPA_PLATFORM=xcb",
   "--socket=pulseaudio",
   "--persist=.electrum",
   "--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://linuxtv.org/downloads/zbar/zbar-0.23.93.tar.gz",
      "sha256": "78ae427a529f0399561bc198de5c2c7ca3f11d05fa9e903e65e501168433d218"
     }
    ]
   },
   "python3-requirements-binaries.json",
   "python3-requirements.json",
   "python3-requirements-hw.json",
   "python3-jsonpatch.json",
   {
    "name": "python3-electrum_ecc",
    "buildsystem": "simple",
    "build-commands": [
     "pip3 install --verbose --exists-action=i --no-index --find-links=\"file://${PWD}\" --prefix=${FLATPAK_DEST} \"electrum_ecc\" --no-build-isolation"
    ],
    "sources": [
     {
      "type": "file",
      "url": "https://files.pythonhosted.org/packages/f0/aa/3aab38ecdf6276141264c91c50758df6e59545c87f18247d99b22e62b76f/electrum_ecc-0.0.8.tar.gz",
      "sha256": "94869a77de28ee79b7f7e974af5c20b392b949905880a8b26504e28202644106"
     }
    ]
   },
   {
    "name": "python3-electrum_aionostr",
    "buildsystem": "simple",
    "build-commands": [
     "pip3 install --verbose --exists-action=i --no-index --find-links=\"file://${PWD}\" --prefix=${FLATPAK_DEST} \"electrum_aionostr\" --no-build-isolation"
    ],
    "sources": [
     {
      "type": "file",
      "url": "https://files.pythonhosted.org/packages/61/bd/60a5af5dc7c3f94a0a2c2afa9b2ed133a6ffa57399908e8319cfd7d2e89d/electrum_aionostr-0.1.0.tar.gz",
      "sha256": "3774f8e8312388272e10851a869c9f4d3d4a54d8d564851c36e2dc40297bec84"
     }
    ]
   },
   {
    "name": "electrum",
    "buildsystem": "simple",
    "build-commands": [
     "pip3 install --exists-action=i --no-index --find-links=\"file://${PWD}\" --prefix=${FLATPAK_DEST} .[gui,crypto] --no-build-isolation",
     "install -Dp -m 644 org.electrum.electrum.metainfo.xml /app/share/metainfo/${FLATPAK_ID}.metainfo.xml",
     "install -Dp -m 644 electrum/gui/icons/electrum.png /app/share/icons/hicolor/128x128/apps/${FLATPAK_ID}.png",
     "install -Dp -m 644 electrum.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 /app/share/applications/${FLATPAK_ID}.desktop"
    ],
    "sources": [
     {
      "type": "archive",
      "url": "https://download.electrum.org/4.8.2/Electrum-4.8.2.tar.gz",
      "sha256": "f38cee333c866986cdfb304428fa7487affc429c3853fc80e9822bd420bbc229",
      "x-checker-data": {
       "type": "anitya",
       "project-id": 10602,
       "version-pattern": "^([\\d.]+)$",
       "url-template": "https://download.electrum.org/$version/Electrum-$version.tar.gz"
      }
     },
     {
      "type": "file",
      "path": "org.electrum.electrum.metainfo.xml"
     }
    ]
   }
  ]
 }
}