cask "c0re100-qbittorrent" do version "5.0.0.10" sha256 "57cb7f7e8e97877e0fef809b99040434787e7f883d6abf88db99088e6921a63d" url "https://github.com/c0re100/qBittorrent-Enhanced-Edition/releases/download/release-#{version}/qBittorrent-Enhanced-Edition-release-#{version}-macOS-universal.dmg" name "qBittorrent Enhanced Edition" desc "Bittorrent client" homepage "https://github.com/c0re100/qBittorrent-Enhanced-Edition" livecheck do url :url regex(/^release[._-]v?(\d+(?:\.\d+)+)$/i) end conflicts_with cask: "qbittorrent" depends_on macos: ">= :mojave" app "qbittorrent.app" zap trash: [ "~/.config/qBittorrent", "~/Library/Application Support/qBittorrent", "~/Library/Caches/qBittorrent", "~/Library/Preferences/org.qbittorrent.qBittorrent.plist", "~/Library/Preferences/qBittorrent", "~/Library/Saved Application State/org.qbittorrent.qBittorrent.savedState", ] end