The board of supervisors of any county in the state is authorized, in its discretion, to pay a monthly office allowance to the attorney employed by the board in an amount not exceeding the amount authorized to be paid for secretarial services for the county prosecuting attorney under Section 19-23-19.