cask "tor-browser" do
  version "10.0.6"

  language "ar" do
    sha256 "2287d8a89bf31238202ec4eca6e93dcfb3a9a702628c57247743897d90cf85d2"
    "ar"
  end
  language "ca" do
    sha256 "1ca3518af33f5e805e73ffa5dcb5f8882a43f31e0cc03a60faf8a8502940e818"
    "ca"
  end
  language "cs" do
    sha256 "42cdc4fb3dd006e295fe1b1c70520f3f4b9487a171c1563e25b6cc9456f78781"
    "cs"
  end
  language "da" do
    sha256 "ed16efa7641e47bff7cfb95c85eefebf9813af482d29908b90878f720abbddbc"
    "da"
  end
  language "de" do
    sha256 "53ab0005619a162e1d88f3c605b1078e2e8231984eadecb7a5212eb23b01cc59"
    "de"
  end
  language "el" do
    sha256 "9785a6f3541fd5cbaef8c7ad36db52cb582caf988c0577c02163ece69ee77327"
    "el"
  end
  language "en", default: true do
    sha256 "77bf71c7e1e547de0bab1994c792dffa2fde4d1cea064270e05dd4e9fd6264e0"
    "en-US"
  end
  language "es-AR" do
    sha256 "6b2025fb5bdd44af08befd0dc74c36783494714d5a3d67f5c21ab8da9c68aeec"
    "es-AR"
  end
  language "es-ES" do
    sha256 "67a00956463df537e1623c4e42ce36125fc988511df7fb23ad5d3598cf6e97bc"
    "es-ES"
  end
  language "fa" do
    sha256 "edfbf552e7b7faf473bac463a0c4d0a40bf0a0feaa3e32c175b3ecde27628023"
    "fa"
  end
  language "fr" do
    sha256 "4b21605b011da05f1a8d81eeba00a77f83649cccd13ca2916649fea8a658dc8a"
    "fr"
  end
  language "ga" do
    sha256 "95cac8316ada0b77cbfe54fe29a9ef4da93203e953b3debe6bd6bbc00df6dece"
    "ga-IE"
  end
  language "he" do
    sha256 "466c59b65464af44c7f10e4291126739dbab2d46a4e7ddef179e612fe86b7bda"
    "he"
  end
  language "hu" do
    sha256 "f90ef25b7bd7d8a9db490b9d3934188d37b4af0d14d31032d390982e3bd8ddf9"
    "hu"
  end
  language "id" do
    sha256 "5521b5b2fbf4de6ee8609d91ec87b0b19170bddc9b3fbab59aa4280960caf672"
    "id"
  end
  language "is" do
    sha256 "870e845a18032119451a2a0ca84342e106fed3ab6240a518761aebc06964b557"
    "is"
  end
  language "it" do
    sha256 "b46e975977d6049b3e8b924690ce05ac8b4401e0798e7a3d89780d57ed60debb"
    "it"
  end
  language "ja" do
    sha256 "9a430a25e7f0028a4caaf8c8881b398b900d9f2bcde4a14410cf7f08de48c549"
    "ja"
  end
  language "ka" do
    sha256 "64f6b6a262d315870abad594a78071f00fd73a1c488c2649a178eb519b2bd5ba"
    "ka"
  end
  language "ko" do
    sha256 "b94c65b021fa6e4f76f8eb64d0176a6a14ba6fc739f4cb5035373a67105a3f59"
    "ko"
  end
  language "lt" do
    sha256 "7ecbbf148c49dcd4e748abc4a24cfd4d570e841b8d0795ee7462d99565702cdb"
    "lt"
  end
  language "mk" do
    sha256 "2eea34d31ecfc8d666fe189809e8a92104793009ac3165381c83456ae8380c65"
    "mk"
  end
  language "ms" do
    sha256 "86cd675ff35dc65c98a4409c0407c461d9adfcea9454f26314dddef7fba79626"
    "ms"
  end
  language "nb" do
    sha256 "f59ed77bd2e95f9bf0ab9eaa4685766b79fed882844f6280ac1ddc59be847780"
    "nb-NO"
  end
  language "nl" do
    sha256 "35e92d697abb10ad716e928531eb8c1745640e62c3dd818255b35e5b683aa87a"
    "nl"
  end
  language "pl" do
    sha256 "a15412cf14d4a0332f5eefb50f6bb916b7d862b1320dded8e1fca63a3a866edd"
    "pl"
  end
  language "pt" do
    sha256 "138f0d196d152c42d94eb98d15fd2c908b295584cfd3afb0886bd9a103a0cfd0"
    "pt-BR"
  end
  language "ro" do
    sha256 "9aa2adfa001b6f449996a8e707ec7d90360d6830be4aae1c24cdcf3fdce55241"
    "ro"
  end
  language "ru" do
    sha256 "71c69e62f930a4ed6e59b6703dedaccf507ced0e97c2849d12500cb3725dc097"
    "ru"
  end
  language "sv" do
    sha256 "a3e317d9da4a23dcfeefe706986bd400e6416c63f0fb781592822a8d6714138e"
    "sv-SE"
  end
  language "th" do
    sha256 "9714fdb94685657234ccbf67ce507771dc6bd69739f4e9fddcb728b72934c2f1"
    "th"
  end
  language "tr" do
    sha256 "d2ed3ca786d5112dcc2f367db507da64f619db33111e6ad29c2e3da91c8f8ea5"
    "tr"
  end
  language "vi" do
    sha256 "43b50ef57d509576c9f8d88f7e0a7947457259bfe3644eb525048dffb538983b"
    "vi"
  end
  language "zh-CN" do
    sha256 "fa15acd4b934c116e5caa840de91f291d1e62c7c3393f85b49ffb0a1c885574e"
    "zh-CN"
  end
  language "zh-TW" do
    sha256 "80bca47bb96be730c4e32d4e653f76207cba9f1ef45aecb4ce875d49503c7383"
    "zh-TW"
  end

  url "https://dist.torproject.org/torbrowser/#{version}/TorBrowser-#{version}-osx64_#{language}.dmg"
  appcast "https://www.torproject.org/download/"
  name "Tor Browser"
  desc "Web browser focusing on security"
  homepage "https://www.torproject.org/"

  auto_updates true
  conflicts_with cask: "homebrew/cask-versions/tor-browser-alpha"

  app "Tor Browser.app"

  zap trash: [
    "~/Library/Application Support/TorBrowser-Data",
    "~/Library/Application Support/com.apple.sharedfilelist/com.apple.LSSharedFileList.ApplicationRecentDocuments/org.mozilla.tor browser.sfl*",
    "~/Library/Preferences/org.mozilla.tor browser.plist",
    "~/Library/Preferences/org.torproject.torbrowser.plist",
    "~/Library/SavedApplicationState/org.torproject.torbrowser.savedState",
  ]
end
