cask "sherlock" do
  version "2.9.0"
  sha256 :no_check

  url "https://dl.devmate.com/io.inspiredcode.Sherlock/Sherlock.dmg",
      verified: "dl.devmate.com/io.inspiredcode.Sherlock/"
  name "Sherlock"
  desc "iOS simulator visual debugger"
  homepage "https://sherlock.inspiredcode.io/"

  livecheck do
    url "http://sparkle.sherlock.inspiredcode.io"
    strategy :sparkle
  end

  depends_on macos: ">= :sierra"

  app "Sherlock.app"

  zap trash: [
    "/Users/Shared/Sherlock",
    "~/Library/Application Support/Sherlock",
    "~/Library/Application Support/io.inspiredcode.Sherlock",
    "~/Library/Preferences/io.inspiredcode.Sherlock.plist",
  ]
end
