{
    "version": "2.53.23",
    "description": "All-in-one application suite capable of web browsing, advanced e-mail, newsgroup, feed client, IRC chat and HTML editing.",
    "homepage": "https://www.seamonkey-project.org",
    "license": "MPL-2.0",
    "notes": [
        "To set profile 'Scoop' as *DEFAULT*, or profiles/settings was lost after update:",
        "  - Run 'SeaMonkey Profile Manager', choose 'Scoop' then click 'Start SeaMonkey'.",
        "  - Visit 'about:profiles' page in SeaMonkey to check *DEFAULT* profile.",
        "For details: https://support.mozilla.org/en-US/kb/profile-manager-create-remove-switch-firefox-profiles"
    ],
    "architecture": {
        "64bit": {
            "url": "https://archive.seamonkey-project.org/releases/2.53.23/win64/en-US/seamonkey-2.53.23.en-US.win64.installer.exe#/dl.7z",
            "hash": "sha512:427d0119fc21cc2244ae730378b8c39d464d772600a8a42b74efa22386ed1e64ae7feae61038192f9f60a5c49c6992285f3c3bc0719ebc15fc28398ec4827343"
        }
    },
    "extract_dir": "core",
    "post_install": [
        "seamonkey -CreateProfile \"Scoop $persist_dir\\profile\"",
        "$Addition = \"$persist_dir\\addition\"",
        "if (Test-Path $Addition) {",
        "  info 'Copying additional items...'",
        "  Copy-Item -Path $Addition\\* -Destination $dir -Force -Recurse -ErrorAction SilentlyContinue",
        "}"
    ],
    "bin": "seamonkey.exe",
    "shortcuts": [
        [
            "seamonkey.exe",
            "SeaMonkey"
        ],
        [
            "seamonkey.exe",
            "SeaMonkey Profile Manager",
            "-P"
        ]
    ],
    "persist": "profile",
    "checkver": ">SeaMonkey\\s+([\\d.]+)</",
    "autoupdate": {
        "architecture": {
            "64bit": {
                "url": "https://archive.seamonkey-project.org/releases/$version/win64/en-US/seamonkey-$version.en-US.win64.installer.exe#/dl.7z"
            }
        },
        "hash": {
            "url": "https://archive.seamonkey-project.org/releases/$version/SHA512SUMS.txt",
            "regex": "$sha512.*/en-US/$basename"
        }
    }
}
