I did not see the movie... in such a society I guess there is hardly any need for males (except for police and army... and when tech is at low level the male muscle for hard labor)
Is that reflected in the movie ?
I'm referring to
The Handmaid's Tale, a novel by Canadian author Margaret Atwood. While it has been adapted into a movie (1990, starring Natasha Richardson, Robert Duvall, and Faye Dunaway), an opera (haven't seen it), and a TV series (starring Elisabeth Moss) that is going into its 4th season (or would have, if filming hadn't been interrupted by the coronavirus situation), it's the original novel that was published in 1985 that people reference when speaking of the Republic of Gilead.
The basic premise of the novel is that in a near future, there's a population crisis - not as many children are being born, and of the ones that are, a significant number are not born viable or healthy. A right-wing group called the Sons of Jacob decides they know the answer - bring religion back and live according to some carefully cherry-picked portions of the Old Testament. They start by murdering the U.S. president and Congress, and when the dust clears (mostly) from the civil war in the northeastern region of the U.S., the Sons of Jacob have won.
By this point the U.S. had become a cashless society. Everyone had a "CompuCard" they presented when they wanted to pay for something (this novel was written before the internet era started in earnest, and my own recollections of the time are that even debit cards were a fairly new thing). What I was referring to in my previous post is that because the Sons of Jacob wanted to round up the women to serve the elite class (the non-fertile ones would either be sentenced to clean up toxic waste or become domestic servants and the fertile ones would be put to work bearing children to the elite), they had to take away their ability to just get on a plane, bus, or boat to escape or buy tools, weapons, food, or other things that could help them escape.
So no, this is not a society where men aren't needed. They consider the infertile women to be disposable, and the only reason the Handmaids get even a little bit of consideration is because they are the few women who can still bear children. The 'consideration' they get is somewhat better food and they're allowed outside for a daily walk. And that's it. They aren't allowed to keep their original names, but are merely known as "Of(first name of their current Commander)". So the main character's name is Offred (her Commander's name is Fred). The novel never tells us her original name.
As to how these women were rounded up in the first place... everyone's CompuCard lists the owner's sex. It was easy-peasy to simply freeze the accounts of everyone with an F beside their name. The money was reassigned to the women's husbands or nearest male relatives, at least until they started rounding the women up (and killing any of the men who refused to cooperate). Any children were simply taken and placed into re-education facilities and indoctrinated before being adopted out to childless people loyal to the Sons of Jacob.
So it's a dystopian novel that wouldn't take much to make it real. Margaret Atwood used RL examples for everything in the novel - if it was going on currently or had at some time in the past, it was valid to use in the novel. Critics and detractors of the TV series have screeched on social media that the villainous Sons of Jacob are modeled on Donald Trump and his people, but Trump hadn't even won the nomination when this show's first season was being shot. The fact is that Atwood based Gilead on the Puritans (mostly; she took inspiration from other regimes as well).
The book is meant to serve as a warning of where society could go if we're not careful. Unfortunately, it also serves as a how-to manual to pull it off.