# typed: false
# frozen_string_literal: true

# This file was generated by GoReleaser. DO NOT EDIT.
class Mactop < Formula
  desc "Apple Silicon Monitor Top written in Go Lang"
  homepage "https://github.com/context-labs/mactop"
  version "0.2.3"
  depends_on :macos

  on_arm do
    url "https://github.com/context-labs/mactop/releases/download/v0.2.3/mactop_0.2.3_darwin_arm64.tar.gz"
    sha256 "e51b97a3acfe1ee1b2467aff3e3407b3a0793e8664264f44a49ae5d48dd209c2"

    def install
      bin.install "mactop"
    end
  end

  def caveats
    <<~EOS
      mactop requires macOS 12+, and runs only on Apple Silicon.
    EOS
  end
end
