cask "recordit" do
  version "1.6.10,114"
  sha256 :no_check

  url "https://recordit-co.s3.amazonaws.com/RecordIt.zip",
      verified: "recordit-co.s3.amazonaws.com/"
  name "RecordIt"
  desc "Screencasting software"
  homepage "https://recordit.co/"

  livecheck do
    url :url
    strategy :extract_plist
  end

  app "RecordIt.app"

  zap trash: [
    "~/Library/Application Support/Recordit",
    "~/Library/Caches/us.freshout.RecordIt",
    "~/Library/Preferences/us.freshout.RecordIt.plist",
  ]
end
