Outdoor fun has the right idea.
Mine is too big to have done with hardware cloth mesh. I did 2 x 4 welded wire 6 ft tall, set in cement. Then I ran 2 ft tall run of chicken wire around inside at ground level. Then I electrified it with 4 rows of hot wire. My chooks get locked in every eve...