{
    "version": "4.3.0",
    "description": "GNU Privacy Guard for Windows is encryption software for files and emails.",
    "homepage": "https://www.gpg4win.org",
    "license": "GPL-2.0-or-later",
    "url": "https://files.gpg4win.org/gpg4win-4.3.0.exe",
    "hash": "af4f67b43e6785393bf0aadbd8fd29053ae8024d2ebba5562dc617f521b20703",
    "post_install": [
        "Start-Process \"$dir\\$fname\" -ArgumentList @('/S', \"/D=$dir\\Gpg4win\") -WindowStyle Hidden -Wait",
        "Remove-Item \"$dir\\$fname\""
    ],
    "env_add_path": [
        "GnuPG\\bin",
        "Gpg4win\\bin"
    ],
    "pre_uninstall": "Start-Process \"$dir\\Gpg4win\\gpg4win-uninstall.exe\" '/S' -Wait",
    "checkver": {
        "url": "https://www.gpg4win.org/get-gpg4win.html",
        "regex": "Download Gpg4win ([\\d.]+)"
    },
    "autoupdate": {
        "url": "https://files.gpg4win.org/gpg4win-$version.exe",
        "hash": {
            "url": "https://gpg4win.org/package-integrity.html"
        }
    }
}
