The compensation for counsel for indigents appointed as provided in Section 99-15-15, shall be approved and allowed by the appropriate judge and in any one (1) case may not exceed one thousand dollars ($1000.00) for representation in circuit court whether on appeal or originating in said court. Provided, however, if said case is not appealed to or does not originate in a court of record, the maximum compensation shall not exceed two hundred dollars ($200.00) for any one (1) case, the amount of such compensation to be approved by a judge of the chancery court, county court or circuit court in the county where the case arises. Provided, however, in a capital case two (2) attorneys may be appointed, and the compensation may not exceed two thousand dollars ($2,000.00) per case. If the case is appealed to the state supreme court by counsel appointed by the judge, the allowable fee for services on appeal shall not exceed one thousand dollars ($1000.00) per case. In addition, the judge shall allow reimbursement of actual expenses. The attorney or attorneys so appointed shall itemize the time spent in defending said indigents together with an itemized statement of expenses of such defense, and shall present same to the appropriate judge. The fees and expenses as allowed by the appropriate judge shall be paid by the county treasurer out of the general fund of the county in which the prosecution was commenced.